const main = require('../main/main');

describe('main()', () => {
    it('return 4A0B',()=>{
        let result = main('1234','1234');
        expect(result).toBe('4A0B');
    })
    it('return 2A2B',()=>{
        let result = main('1234','1324');
        expect(result).toBe('2A2B');
    })
    it('return 1A1B',()=>{
        let result = main('1234','4276');
        expect(result).toBe('1A1B');
    })
    it('return 0A3B',()=>{
        let result = main('1234','2416');
        expect(result).toBe('0A3B');
    })
});